<html>
  <head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Google Maps JavaScript API v3 Example: Map Simple</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8mADNa0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q"></script>
<script type="text/javascript">
var map;
var geocoder = new GClientGeocoder();

function initialize()
{
	map = new GMap2(document.getElementById("map_canvas"));
	geocoder = new GClientGeocoder();
	map.setCenter(new GLatLng(38.778577, -90.620835), 14);

	var trafficOptions = {incidents:true};
	trafficInfo = new GTrafficOverlay(trafficOptions);
	map.addOverlay(trafficInfo);
	map.addControl(new GSmallMapControl());
	map.enableGoogleBar();

}

function getDirections(query, div)
{
	directions = new GDirections(map, div);
	directions.load(query);
}

function search(query, div)
{
	var lSearch = GlocalSearchgoogle.search.LocalSearch();
	lSearch.setCenterPoint(query);
}

function showAddress(address)
 {
  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " not found");
      } else {
        map.setCenter(point, 13);
        var marker = new GMarker(point);
        map.addOverlay(marker);
        marker.openInfoWindowHtml(address);
		alert(point);
      }
    }
  );
}
</script>
  </head>
  <body onLoad="initialize()">
  <div id="map_canvas" style="width:100%; height:100%"></div>
  </body>
</html>